package com.chengcheng.entity;

import lombok.Data;

import java.math.BigDecimal;

/**
 * @author yangcheng(darren)
 * @date 2021/08/17
 * @copyright 2021 Bizfocus All Rights Reserved
 * @description
 */
@Data
public class OmsOrder {

    //主键
    private Long id;
    //用户id
    private String user_id;
    //订单编号
    private String order_number;
    //父订单编号
    private String parent_order_number;
    //提交时间
    private Long gmt_create;
    //订单标题
    private String title;
    //商家编号
    private String merchant_id;
    //订单金额
    private BigDecimal total_amount;
    //实际支付金额
    private BigDecimal pay_amount;
    //支付方式：0->未支付；1->支付宝；2->微信
    private Integer pay_type;
    //订单来源：0->PC订单；1->app订单
    private Integer source_type;
    //订单状态：0->待付款；1->待发货；2->待收货；3->交易完成；4->已取消；5->超时取消:6->无效订单
    private Integer order_status;
    //订单类型：0->正常订单；1->秒杀订单
    private Integer order_type;
    //自动确认时间（天）
    private Integer auto_confirm_day;
    //发票类型：0->不开发票；1->电子发票；2->纸质发票
    private Integer bill_type;
    //发票抬头
    private String bill_header;
    //发票内容
    private String bill_content;
    //收票人电话
    private String bill_receiver_phone;
    //收票人邮箱
    private String bill_receiver_email;
    //收货人姓名
    private String receiver_name;
    //收货人电话
    private String receiver_phone;
    //收货人邮编
    private String receiver_post_code;
    //省份/直辖市
    private String receiver_province;
    //城市
    private String receiver_city;
    //区
    private String receiver_region;
    //详细地址
    private String receiver_detail_address;
    //订单备注
    private String note;
    //确认收货状态：0->未确认；1->已确认
    private Integer confirm_status;
    //删除状态：0->未删除；1->已删除
    private Integer delete_status;
    //支付时间
    private Long payment_time;
    //发货时间
    private Long delivery_time;
    //确认收货时间
    private Long receive_time;
    //最新评价时间
    private Long comment_time;
    //修改时间
    private Long gmt_modified;
    //创建者
    private String create_by;
    //更新者
    private String modified_by;
}
